<?php


class SurveyTable extends myDoctrineTable
{
    
    public static function getInstance()
    {
        return Doctrine_Core::getTable('Survey');
    }
   public function getQuestion(){
     $question = Doctrine_Core::getTable('Question')->find(1); 
     return $question;
 }
}